package bb.lanxing.activity.interfaces

import bb.lanxing.model.database.User
import com.umeng.socialize.bean.SHARE_MEDIA
import org.json.JSONObject
import rx.Observable

interface ILoginModel {
    fun login(phone: String, pwd: String): Observable<User>

    fun loginSms(phone: String, code: String): Observable<User>
    fun loginByThirdParty(
        share_media: SHARE_MEDIA,
        jSONObject: JSONObject
    ): Observable<User>
}
